<h1>源统计</h1>

<div class="panel panel-default">
	<div class="panel-heading">主题列表</div>
	<div class="panel-body">
		<div class="table-responsive">
			<table class="table table-striped table-bordered table-hover" id="topic-list">
				<thead>
					<tr>
						<th>ID</th>
						<th>名称</th>
						<th>抓取间隔(s)</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-repeat="data in listArray">
						<td>{{data.id}}</td>
						<td>{{data.name}}</td>
						<td>{{data.avg_interval}}</td>
						<td>
							<button ng-click="editSite()">修改</button>
							<a href="#/topic/sourcelist">查看源</a>
							<a href="#/topic/addsource">添加源</a>
						</td>
					</tr>
				</tbody>
			</table>

			<nav class="float-right">
				<ul class="pagination">
					<li ng-click="angularCallAjax('GET','http://172.16.10.120:33333/api/sites/entry?',{pageno:1})">
						<a aria-label="Previous">
							<span aria-hidden="true">&laquo;</span>上一页
						</a>
					</li>
					<li ng-click="angularCallAjax('GET','http://172.16.10.120:33333/api/sites/entry?',{pageno:2})">
						<a aria-label="Next">
							<span aria-hidden="true">&raquo;</span>下一页
						</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>

